home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / b026pot.dir / 00059.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  1.8 KB  |  79 lines

  1. on exitFrame
  2.   global gCurrentNumber, gTotalNumofPages, gQuestion
  3.   if rollOver(6) then
  4.     puppetSprite(6, 1)
  5.     set the castNum of sprite 6 to cast "b060.roll"
  6.     updateStage()
  7.   else
  8.     set the castNum of sprite 6 to cast "b060"
  9.     updateStage()
  10.   end if
  11.   if rollOver(7) then
  12.     puppetSprite(7, 1)
  13.     set the castNum of sprite 7 to cast "b061.roll"
  14.     updateStage()
  15.   else
  16.     set the castNum of sprite 7 to cast "b061"
  17.     updateStage()
  18.   end if
  19.   if rollOver(8) then
  20.     puppetSprite(8, 1)
  21.     set the castNum of sprite 8 to cast "b062.roll"
  22.     updateStage()
  23.   else
  24.     set the castNum of sprite 8 to cast "b062"
  25.     updateStage()
  26.   end if
  27.   if rollOver(5) then
  28.     puppetSprite(5, 1)
  29.     set the castNum of sprite 5 to cast "b059.roll"
  30.     updateStage()
  31.   else
  32.     set the castNum of sprite 5 to cast "b059"
  33.     updateStage()
  34.   end if
  35.   if gCurrentNumber < gTotalNumofPages then
  36.     set the castNum of sprite 13 to cast "b015"
  37.     updateStage()
  38.   else
  39.     nothing()
  40.   end if
  41.   if gCurrentNumber > 1 then
  42.     set the castNum of sprite 14 to cast "b017"
  43.     updateStage()
  44.   else
  45.     nothing()
  46.   end if
  47.   if rollOver(16) then
  48.     puppetSprite(18, 1)
  49.     if gQuestion then
  50.       set the castNum of sprite 18 to cast "b058n"
  51.       updateStage()
  52.     else
  53.       set the castNum of sprite 18 to cast "b057r"
  54.       updateStage()
  55.     end if
  56.   else
  57.     if rollOver(17) then
  58.       puppetSprite(18, 1)
  59.       if gQuestion then
  60.         set the castNum of sprite 18 to cast "b058r"
  61.         updateStage()
  62.       else
  63.         set the castNum of sprite 18 to cast "b057n"
  64.         updateStage()
  65.       end if
  66.     else
  67.       if gQuestion then
  68.         set the castNum of sprite 18 to cast "b058n"
  69.         updateStage()
  70.       else
  71.         set the castNum of sprite 18 to cast "b057n"
  72.         updateStage()
  73.       end if
  74.     end if
  75.   end if
  76.   mainMenuRollovers()
  77.   go(the frame)
  78. end
  79.